/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.dinner.dao.balance;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.dinner.entity.balance.ResAccountBalance;
import com.thinkgem.jeesite.modules.sys.entity.User;

import java.util.Date;

/**
 * 余额管理DAO接口
 * @author dai
 * @version 2018-11-18
 */
@MyBatisDao
public interface ResAccountBalanceDao extends CrudDao<ResAccountBalance> {
    public ResAccountBalance findByUserId(String userId);

    public void updateBalanceByUserId(double balance,String updateById,Date updateDate,String userId);
}